#pragma once
#include "car.h"


/********************************障碍物***************************/
class Cone {
  public:
    Cone() = default;
    Cone(const double& pos_x, const double& pos_y, const double& R = 20.0);
    // 绘制
    void ShowCone();
    
  public:
   std::unique_ptr<Point> p_center; // 中心点
   double r = 20.0; // 半径
};

/********************************行人***************************/
class Person {
  public:
    Person() = default;
    Person(const double& pos_x, const double& pos_y);
    void PersonMove();
    void ShowPerson();
  
  public:
    std::unique_ptr<Point> p_center;
    double r = 20.0;
    double speed = 0.0;
};